home *** CD-ROM | disk | FTP | other *** search
- /*
- (C) 1995-96 AROS - The Amiga Replacement OS
- $Id: maxcli.c,v 1.2 1996/08/01 17:40:55 digulla Exp $
- $Log: maxcli.c,v $
- Revision 1.2 1996/08/01 17:40:55 digulla
- Added standard header for all files
-
- Desc:
- Lang: english
- */
- #include <exec/execbase.h>
- #include <clib/exec_protos.h>
- #include <dos/dosextens.h>
-
- /*****************************************************************************
-
- NAME */
- #include <clib/dos_protos.h>
-
- __AROS_LH0(BPTR, MaxCli,
-
- /* SYNOPSIS */
-
- /* LOCATION */
- struct DosLibrary *, DOSBase, 92, Dos)
-
- /* FUNCTION
- Returns the highest Cli number currently in use. Since processes
- may be added and removed at any time the returned value may already
- be wrong.
-
- INPUTS
-
- RESULT
- Maximum Cli number (_not_ the number of Clis).
-
- NOTES
-
- EXAMPLE
-
- BUGS
-
- SEE ALSO
-
- INTERNALS
-
- HISTORY
- 29-10-95 digulla automatically created from
- dos_lib.fd and clib/dos_protos.h
-
- *****************************************************************************/
- {
- __AROS_FUNC_INIT
- __AROS_BASE_EXT_DECL(struct DosLibrary *,DOSBase)
-
- return DOSBase->dl_ProcCnt-1;
- __AROS_FUNC_EXIT
- } /* MaxCli */
-